home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / C Internet Config / IC Headers ƒ / IC Component API.h < prev    next >
Encoding:
Text File  |  1995-11-18  |  7.3 KB  |  31 lines  |  [TEXT/SPM ]

  1. /*
  2.     IC Component API.h
  3.     
  4.     Defines the call interface to the IC component.
  5.     
  6.     I (dhn) modified this to appear as a component interface file (IMHO) should
  7.     look like.
  8.     
  9.     I took out the XXXWORDINLINE code, replaced the numerical selector values
  10.     with their enumerated constant values, etc.
  11.     
  12.     By using the ComponentCallNow macro we ensure that the correct expansion
  13.     will take place when compiling 68k or PPC code.  For 68k code, the asm code
  14.     to call the component will expand in place and work correctly.  For PPC code,
  15.     the macro will expand to nothing leaving a prototype for the glue functions.
  16.     
  17.     By using the enumerated values in ICComponentSelectors.h, if the enums change
  18.     then the code will compile to the correct selector routine; it won't be necessary
  19.     to go into this file to change the selector codes.
  20.     
  21.     History:
  22.         11/03/95 - dhn - Modified and renamed to "IC Component API.h"
  23. */
  24.  
  25. /*
  26.     Original header information follows:
  27.     
  28.  * File:         ICCAPI.h
  29.  * Generated by: 1.0d4
  30.  * For:          IC 1.2
  31.  * On: